<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
error_reporting(E_ALL);
/**
 * 图形验证码控制器
 */
class Vcode extends CI_Controller {

	public function __construct()
	{
	      parent::__construct();
	}
	public function index($width=100,$height=100)
	{
		$this->load->library('Verify');
		$this->verify->doimg($width,$height);
	}
	public function index1($width=100,$height=100)
	{
		$this->load->library('Verify');
		$this->verify->doimg($width,$height);
	}
        public function index2($width=100,$height=100)
	{
		$this->load->library('Verify1');
		$this->verify1->doimg($width,$height);
	}
	public function verify()
	{
		//$this->verify->doimg(); 
		//echo $this->session->userdata('auth_code');
	}
	
	public function authcode()
	{
		$this->load->library('Authcode');
		$this->authcode->show();
	}
	
	public function code()
	{
            $this->load->library('Verify');
            $this->verify->getCode();
		//$this->verify->getCode(); 
		//echo $this->session->userdata('auth_code');
		//echo $this->session->flashdata('userErr');
	}
}
